<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>home</title>
</head>
<body>

    <a href="./comA.html" class="active">首页</a>
    <a href="./comB.html">关于</a>

    home page
</body>
<style>
    .active{
        background-color: red;
    }
</style>
</html>
